icontheme: Make sure icon_info->scale doesn't end up 0
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Sep 2013 20:37:06 +0000 (22:37 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 20 Sep 2013 12:42:41 +0000 (14:42 +0200)
commitf081552da1f358a395b177ee71d79b26efcee3d4
treeb48378bd20461805d9ffb78b1338e9b31bb825fe
parent7b2f60831cf19cc7e286e35d23151a8f636903d6
icontheme: Make sure icon_info->scale doesn't end up 0

GdkPixbuf will fail returning %NULL if we try to scale a pixbuf to (0, 0),
which will then trigger an assertion in gtk_icon_info_load_icon_finish();
we never want a scale of 0, so ensure it is at least 1.

https://bugzilla.gnome.org/show_bug.cgi?id=708384
gtk/gtkicontheme.c